Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: modify EnsureKey to add primary key back to Scan #48038

Merged
merged 1 commit into from
Apr 25, 2020

Conversation

DrewKimball
Copy link
Collaborator

Previously, the EnsureKey function would create a new Ordinality
operator when it encountered a Scan without a key.

This patch modifies EnsureKey to instead find the preexisting
primary key and construct a new Scan operator with the new column(s).

Release note: None

Previously, the EnsureKey function would create a new Ordinality
operator when it encountered a Scan without a key.
This patch modifies EnsureKey to instead find the preexisting
primary key and construct a new Scan operator with the new column(s).

Release note: None
@DrewKimball DrewKimball requested a review from a team as a code owner April 25, 2020 03:51
@blathers-crl
Copy link

blathers-crl bot commented Apr 25, 2020

Thank you for contributing to CockroachDB. Please ensure you have followed the guidelines for creating a PR.

My owl senses detect your PR is good for review. Please keep an eye out for any test failures in CI.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is cool, thanks! :lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@andy-kimball
Copy link
Contributor

bors r+

@craig
Copy link
Contributor

craig bot commented Apr 25, 2020

Build succeeded

@craig craig bot merged commit ef2b897 into cockroachdb:master Apr 25, 2020
@DrewKimball DrewKimball deleted the ordinality branch June 18, 2020 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants